package com.yuchen.ishop.service.admin;

import com.yuchen.core.MyPager;
import com.yuchen.ishop.entity.<%= beanInfo.classname%>;
import com.yuchen.ishop.service.BaseService;

import java.util.Map;

/**
 *
 */
public interface <%= beanInfo.classname%>Service extends BaseService<<%= beanInfo.classname%>> {

        MyPager find(Map params,MyPager pager);


        public <%= beanInfo.classname%> insert(<%= beanInfo.classname%> <%= beanInfo.alias%>) ;


        public int update(<%= beanInfo.classname%> <%= beanInfo.alias%>,boolean isIgnoreNull) ;


        public <%= beanInfo.classname%> getById(Long id);


        public int delete(Long id) ;
}
